package cl.mt.util.quartz.task;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

import cl.mt.proxy.ProxyInfoCargaVehiculo;
 
public class SchedulerTask 
{
	
	private transient Logger log = LogManager.getLogger(SchedulerTask.class.getName());

	public void printMessage() {
		System.out.println("Print Print Struts + Quartz integration example ~");
	}
	
	public void recargaDatos(){
		log.info("Ejecuto recarga datos generales MT.");
		ProxyInfoCargaVehiculo.getInstance().refresh();
		log.info("recarga datos generales MT. Finalizada");
	}
}